import request from '@/utils/request'
import { ResultVoid, DeepRequired, ChangePwdByEmailDto } from '../../interface'

/**
 * 忘记密码-通过邮箱修改密码
 * /auth/change/pwd/byEmail
 */
export function putAuthChangePwdByEmail(input: ChangePwdByEmailDto) {
  return request.put<DeepRequired<ResultVoid>>(
    `/auth/change/pwd/byEmail`,
    input,
  )
}
